package com.heima.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class MyTask {




    @Scheduled(cron = " 5 * * * * ?")
    public void testTask(){
        System.out.println("我细化你 擦抹和老师");
    }
}
